USE [minfo_cspro_7]
GO

/****** Object:  Table [dbo].[CS_OrderHistory]    Script Date: 04/29/2014 07:08:38 ******/
SET ANSI_NULLS ON
GO

SET QUOTED_IDENTIFIER ON
GO

CREATE TABLE [dbo].[CS_OrderHistory](
	[OrderHistoryId] [int] IDENTITY(1,1) NOT NULL,
	[OrderId] [int] NULL,
	[UserId] [int] NULL,
	[Action] [nvarchar](250) NULL,
	[CreateDate] [datetime] NULL,
	[Note] [nvarchar](1000) NULL,
	[IP] [nvarchar](50) NULL,
	[Contents] [nvarchar](1000) NULL,
PRIMARY KEY CLUSTERED 
(
	[OrderHistoryId] ASC
)WITH (PAD_INDEX  = OFF, STATISTICS_NORECOMPUTE  = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS  = ON, ALLOW_PAGE_LOCKS  = ON) ON [PRIMARY]
) ON [PRIMARY]

GO

ALTER TABLE [dbo].[CS_OrderHistory] ADD  DEFAULT (getdate()) FOR [CreateDate]
GO


